package com.lh0811.forge.pserv.uacs.server.service;

import com.github.pagehelper.PageInfo;
import com.lh0811.forge.pserv.uacs.api.param.*;
import com.lh0811.forge.pserv.uacs.api.vo.UacsPlateUserQueryVo;
import com.lh0811.forge.pserv.uacs.api.vo.UacsTenantDepartmentPostQueryVo;

import java.util.List;

public interface PlateUserService {

    PageInfo<UacsPlateUserQueryVo> plateUserQueryPage(UacsPlateUserQueryPageParam param) throws Exception;

    List<UacsPlateUserQueryVo> plateUserQueryList(UacsPlateUserQueryListParam param) throws Exception;

    void plateUserCreate(UacsPlateUserCreateParam param) throws Exception;

    void plateUserUpdate(UacsPlateUserUpdateParam param) throws Exception;

    void plateUserDelete(Long id) throws Exception;

    void plateUserTenantPostRefSave(UacsPlateUserPostRefSaveParam param) throws Exception;

    // 获取用户绑定的岗位
    List<UacsTenantDepartmentPostQueryVo> getUserBuildingPostList(Long userId) throws Exception;

}
